//
//  tianjiaheziViewController.m
//  左邻右家
//
//  Created by dsdf on 16/2/23.
//  Copyright © 2016年 Hiccup. All rights reserved.
//

#import "tianjiaheziViewController.h"
#import "shoudongbangdingViewController.h"

@interface tianjiaheziViewController ()

@end

@implementation tianjiaheziViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
    self.navigationController.navigationBar.barTintColor = [[UIColor alloc] initWithRed:230/255.0 green:55/255.0 blue:55/255.0 alpha:1.0];
    self.navigationController.title=@"盒子管理";
    
    UIButton *rightbutton=[UIButton  buttonWithType:UIButtonTypeCustom];
    [rightbutton setImage:[UIImage imageNamed:@""] forState:UIControlStateNormal];
    rightbutton.frame=CGRectMake(0, 0, 30, 30);
    UIBarButtonItem *right=[[UIBarButtonItem alloc]initWithCustomView:rightbutton];//initWithCoder:rightbutton];
    [rightbutton addTarget:self action:@selector(tanchuyemian) forControlEvents:UIControlEventTouchUpInside];
    [self.navigationItem setRightBarButtonItem:right];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
-(void)tanchuyemian


{

    
    


}


/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
